package com.sunlee.common.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sunlee.common.core.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 营销商品表
 */
@TableName(value = "tb_marketing_product_mapping")
@Data
public class MarketingProductMappingEntity extends BaseEntity implements Serializable {

    /**
     * 商品ID
     */
    private Long productId;

    /**
     * 营销ID
     */
    private Long marketingId;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 排序（越小越靠前）
     */
    private Integer sort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
